package com.riche.codefactory.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: QuestionBankQuestion
 * @Description: 题库题目关联表
 * @Author: Gaoruiqi
 * @Date: 2025-10-18 13:31
 * @Version: 1.0
 **/

@Data
@TableName("question_bank_question")
public class QuestionBankQuestion implements Serializable {

    @TableLogic
    private static final long serialVersionUID = 1L;

    /**
     * id（自增主键）
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 题库 id
     */
    private Long questionBankId;

    /**
     * 题目 id
     */
    private Long questionId;

    /**
     * 创建用户 id
     */
    private Long userId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

}
